package cn.springdemo.aop;

import org.apache.log4j.Logger;
import org.aspectj.lang.JoinPoint;

public class UserServiceLogger {
    private static final Logger log = Logger.getLogger(UserServiceLogger.class);

    public void  qianzhi(JoinPoint joinPoint ) {
        log.info("这是前置的增强方法");
    }
    public void houzhi ( JoinPoint joinPoint ) {
        log.info("这是后置增强的方法");
    }




}
